//
//  HomeC.m
//  UniverseProject
//
//  Created by ETOP on 2018/2/26.
//  Copyright © 2018年 Cloud2209. All rights reserved.
//


#import "LGNavgationBar.h"
#import "LGHorizontalMenuView.h"
//#import <SGPagingView.h>
#import "HomeC.h"

@interface HomeC ()
//<SGPageTitleViewDelegate,LGNavgationBarDelegate>
@property (nonatomic, weak)UIScrollView *scrollView;

@end

@implementation HomeC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.hideNavBar = YES;
    self.gesture_handel = YES;
   
    LGNavgationBar *bar = [LGNavgationBar loadBarWithView:self.view];
    bar.backgroundColor = LGCOLOR(@"#FF9F08");
    bar.titleLab.text = @"首页";
    
    [bar setRightItems:@[@"gray_holder_20.png",@"gray_holder_20.png"]];

}



- (void)lgNavBar:(LGNavgationBar *)bar didClickIndex:(NSInteger)index{
    
    
    
    
    
}
//
//
///**
// 设置表格
// */
//- (void)setupTab{
//
////    [self.view showIndicator];
//
//    /// pageTitleViewConfigure
//    SGPageTitleViewConfigure *configure = [SGPageTitleViewConfigure pageTitleViewConfigure];
//    /// pageTitleView
//    SGPageTitleView *pageTitleView = [SGPageTitleView pageTitleViewWithFrame:CGRectMake(0, k_SafeAreaTopHeight, K_SCREEN_WIDTH - 80, 40) delegate:self titleNames:@[@"年",@"月",@"日",@"时",@"分",@"秒"] configure:configure];
//    [self.view addSubview:pageTitleView];
//
//    LGHorizontalMenuView *menu = [LGHorizontalMenuView initWithOrginFrame:CGRectMake(0, 100, 300, 60) dataArray:@[@"年",@"月",@"日月月月月",@"时月月月",@"分",@"秒",@"年",@"月",@"日月月月月",@"时月月月",@"分",@"秒"]];
//    [self.view addSubview:menu];
//
//}
//
//
//- (void)pageTitleView:(SGPageTitleView *)pageTitleView selectedIndex:(NSInteger)selectedIndex{
//
//    NSLog(@"%ld",selectedIndex);
//}


@end
